package cn.lutu.protocol.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class ArticleDetailVO {
    private Long id;
    private Long userId;
    private String nickName;
    private String userImgUrl;//头像
    private String imgUrl;//封面
    private String content;
    private String title;
    private Integer viewCount;
    private Integer commentCount;
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss")
    private LocalDateTime createTime;
    private Integer collectCount;
    private Integer upCount;
    private Integer isCollect;
    private Integer isUp;
}
